package com.jgp.glmeeting.controller;

import com.jgp.glmeeting.service.MeetingParticipantsRelationService;
import com.jgp.sys.common.controller.JGPController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/glMeeting/meetingParticipantsRelationController")
public class MeetingParticipantsRelationController extends JGPController {
    @Autowired
    private MeetingParticipantsRelationService meetingParticipantsRelationService;


    /**
     *     跳转到参会人员列表的页面  listJoinMeetUsers
     */
    @RequestMapping("/listJoinMeetUsers/{id}")
    public String listJoinMeetUsers(@PathVariable String id, Model model){
        model.addAttribute("meetingID",id);
        return page("listJoinMeetUsers");
    }

    /**
     *     跳转添加会议人员列表
     */
    @RequestMapping("/addUsersList/{meetingID}")
    public String addUsersList(@PathVariable String meetingID, Model model){
        model.addAttribute("meetingID",meetingID);
        return page("addUsersList");
    }

}
